package com.clms.statistics.controller;

import com.clms.common.R;
import com.clms.statistics.service.OrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: clms-third
 * @description:订单统计的实现层
 * @author: 许鹏
 * @create: 2021-07-24 15:34
 **/
@RestController
@RequestMapping("statistics")
public class OrderController {

@Resource
    private OrderService orderService;

@GetMapping("selectOrder")
public R Order(){
    return orderService.Order();
}
}
